#ifndef __TREE_H__
#define __TREE_H__

#include<iostream>
#include<stack>
#include<queue>
#include<cstdio>

using namespace std;

typedef char TElemType;
typedef struct BTNode
{
	TElemType data;
	struct BTNode* lchild,*rchild;
}BTNode,*BiTree;

void Create(BiTree &T);
void PreOrderTraverse(BiTree T);
void InOrderTraverse(BiTree T);
void PostOrderTraverse(BiTree T);
void iter_PreOrderTraverse(BiTree T);
void iter_InOrderTraverse(BiTree T);
void LevelOrderTraverse(BiTree T);

#endif